﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LibFriesland_Campina_CRM
{
    public class BizPrivilege
    {
        #region Thuoc tinh
        public string privilege_charid { get; set; }
        public string name { get; set; }
        #endregion
      
        #region Ham thiet lap
        public BizPrivilege() { }
        public BizPrivilege(string pPrivilege_charid, string pName)
        {
            privilege_charid = pPrivilege_charid;
            name = pName;
        }
        #endregion

        #region Phuong thuc
        //Webservice
        public static List<BizPrivilege> getAll()
        {
            return DalPrivilege.getAll();
        }
        #endregion
    }
}
